﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreatePoll.aspx.cs" Inherits="eVoting.CreatePoll" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
    <asp:Label ID="MainLabel" runat="server" Text="Add a New Poll"></asp:Label>
    <p>
        <asp:Label ID="NameLabel" runat="server" Text="Name : "></asp:Label>
        <asp:TextBox ID="NameTB" runat="server"></asp:TextBox>
    </p>
    <asp:Label ID="DscLabel" runat="server" Text="Description : "></asp:Label>
    <asp:TextBox ID="DscTB" runat="server"></asp:TextBox>
    <p>
        <asp:Label ID="SDLabel" runat="server" Text="Start Date :"></asp:Label>
        <asp:DropDownList ID="SDDay" runat="server">
        </asp:DropDownList>
        <asp:DropDownList ID="SDMonth" runat="server">
        </asp:DropDownList>
        <asp:DropDownList ID="SDYear" runat="server">
        </asp:DropDownList>
    </p>
    <asp:Label ID="EDLabel" runat="server" Text="End Date :"></asp:Label>
    <asp:DropDownList ID="EDDay" runat="server">
    </asp:DropDownList>
    <asp:DropDownList ID="EDMonth" runat="server">
    </asp:DropDownList>
    <asp:DropDownList ID="EDYear" runat="server">
    </asp:DropDownList>
    <p>
        <asp:Label ID="Label1" runat="server" Text="Study Group :"></asp:Label>
        <asp:DropDownList ID="StudyGroupDropDown" runat="server">
        </asp:DropDownList>
    </p>
    <p>
        <asp:Label ID="Label2" runat="server" Text="No. Of Candidates:"></asp:Label>
        <asp:TextBox ID="CandidatesTB" runat="server"></asp:TextBox>
    </p>
    <p>
        <asp:Button ID="AddBtn" runat="server" Height="24px" onclick="AddBtn_Click" 
            Text="Add" />
    </p>
    <p>
    <asp:Label ID="ErrorLbl" runat="server" ForeColor="Red" Text="Error" 
        Visible="False"></asp:Label>
    </p>
    </form>
</body>
</html>
